package com.sky.mapper;


import com.sky.aop.AutoFill;
import com.sky.entity.User;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    /**
     * 微信登录，获取openid
     * @param openid
     * @return
     */
    User getByOpenid(String openid);

    /**
     * 微信登录,新增用户
     * @param user
     */
    void insert(User user);



    

   
}
